וַיַּ֤עַשׂ יְהוָה֙ ל֔וֹ כַּאֲשֶׁ֖ר דִּבֶּ֣ר בְּיָדִ֑י וַיִּקְרַ֨ע יְהוָ֤ה אֶת־הַמַּמְלָכָה֙ מִיָּדֶ֔ךָ וַֽיִּתְּנָ֖הּ לְרֵעֲךָ֥ לְדָוִֽד׃
And the LORD hath wrought for Himself; as He spoke by me; and the LORD hath rent the kingdom out of thy hand, and given it to thy neighbour, even to David.
Read kabbalistic (mystical) interpretation of I Samuel 28:17: and classical mystical sources.